public class Professor implements IVistable{
    @Override
    public String accept(IVisitor visitor) {
         return visitor.visit(this);
    }

    private String professorName;

    public String getProfessorName() {
        return professorName;
    }

    public void setProfessorName(String professorName) {
        this.professorName = professorName;
    }

    public String getProfessorNo() {
        return professorNo;
    }

    public void setProfessorNo(String professorNo) {
        this.professorNo = professorNo;
    }

    private String professorNo;


}
